package com.vhdadw.service;

import com.vhdadw.enums.SendCodeEnum;
import com.vhdadw.utils.JsonData;

public interface NotifyService {

    //发送短信验证码
    JsonData sendCode(SendCodeEnum sendCodeEnum, String to);

    //校验验证码
    boolean checkCode(SendCodeEnum sendCodeEnum,String to, String code);
}
